//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// 

package networks;

import node.Node;
import ned.DatarateChannel;
//
// TODO auto-generated type
//
network Testned
{
    types:
        channel C extends DatarateChannel
        {
            parameters:
//                delay = default(0.1ms);
                //myadd
                delay = default(20ms);
//                datarate = default(1Gbps);
                //myadd
                datarate = default(100kbps);
        }
    submodules:
        rte[2]: Node {
            parameters:
                address = index;
        }
    connections allowunconnected:
        
    rte[0].port++ <--> C <--> rte[1].port++;
    rte[1].port++ <--> C <--> rte[0].port++;
}
